package org.example.petitionplatformsystem.service;

import org.example.petitionplatformsystem.dao.model.Approvals;

import java.util.List;

public interface ApprovalsService {
    public void addApproval(Approvals approval);

    public void updateApproval(Approvals approval);

    public void deleteApproval(Approvals approval);

    public Approvals getApprovalById(long id);


    public List<Approvals> getAllApprovals();

    public List<Approvals> getApproved();
}
